/*
 * ShoppingCartShopStatisticsListItem.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Shop;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.ShoppingCartShopStatisticsHolder;

/** 购物车-当前店铺统计Item */
public class ShoppingCartShopStatisticsListItem
        extends DisplayListItem<ShoppingCartShopStatisticsHolder, Shop> {

    public ShoppingCartShopStatisticsListItem(Shop s) {
        super(s);
    }

    @Override
    public void onShow(final Context context, ShoppingCartShopStatisticsHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return ShoppingCartShopStatisticsListItem.class.getSimpleName();
    }

    @Override
    public Class<ShoppingCartShopStatisticsHolder> getViewHolderClazz() {
        return ShoppingCartShopStatisticsHolder.class;
    }
}
